import {request} from '@/network/request.js'

// 出国申请
export function abroadList(data){
	return request({
		url: '/studentAbrApply/findApply',
		data: data
	})
}

export function abroadApply(data){
	return request({
		url: '/studentAbrApply/apply',
		data: data
	})
}

// 归国变更
export function changeList(data){
	return request({
		url: '/studentBackApply/findApply',
		data: data
	})
}

export function changeApply(data){
	return request({
		url: '/studentBackApply/apply',
		data: data
	})
}
// 公派
export function projectList(data){
	return request({
		url: '/studentPubApply/findApply',
		data: data
	})
}

export function projectApply(data){
	return request({
		url: '/studentPubApply/apply',
		data: data
	})
}
// 国际会议
export function meetingList(data){
	return request({
		url: '/studentMeetApply/findApply',
		data: data
	})
}

export function meetingApply(data){
	return request({
		url: '/studentMeetApply/apply',
		data: data
	})
	
}

//*************************查看详细信息
export function abroadInfo(data){
	return request({
		url: '/studentAbr/findById',
		data: data
	})
}
// export function abroadInfo(data){
// 	return request({
// 		url: '/graduate/Stu_abr/findById',
// 		// method: 'GET',
// 		data: data
// 	})
// }

export function changeInfo(data){
	return request({
		url: '/studentBack/findById',
		data: data
	})
}

export function projectInfo(data){
	return request({
		url: '/studentPub/findById',
		data: data
	})
}

export function meetingInfo(data){
	return request({
		url: '/studentMeet/findById',
		data: data
	})
}